package com.fowo.api.model.tmp.fba.shipment;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/** FBA货件临时表 导入导出辅助模型 */
@Getter
@Setter
public class TmpFbaShipmentExcelPo {

  @Size(max = 100, message = "货件id长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "货件id")
  private String shipmentId;

  @Size(max = 500, message = "货件名称长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "货件名称")
  private String shipmentName;

  @Size(max = 100, message = "个人或企业名称长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "个人或企业名称")
  private String name;

  @Size(max = 50, message = "街道地址长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "街道地址")
  private String addressLine;

  @Size(max = 50, message = "区或县长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "区或县")
  private String districtOrCounty;

  @Size(max = 50, message = "城市长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "城市")
  private String city;

  @Size(max = 50, message = "州或省的代码长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "州或省的代码")
  private String stateOrProvinceCode;

  @Size(max = 50, message = "国家代码长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "国家代码")
  private String countryCode;

  @Size(max = 50, message = "邮编长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "邮编")
  private String postalCode;

  @Size(max = 500, message = "亚马逊配送中心长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "亚马逊配送中心")
  private String destinationFulfillmentCenterId;

  @Size(max = 50, message = "订单状态长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "订单状态")
  private String shipmentStatus;

  @Size(max = 50, message = "标签类型长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "标签类型")
  private String labelPrepType;

  @Size(max = 50, message = "是否原装发货长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "是否原装发货")
  private String areCasesRequired;

  @Size(max = 50, message = "到达日期长度不能超过20")
  @DateTimeFormat("yyyy年MM月dd日HH:mm:ss")
  @ExcelProperty(value = "到达日期")
  private java.util.Date confirmedNeedByDate;

  @Size(max = 50, message = "箱内信息方式长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "箱内信息方式")
  private String boxContentsSource;

  @Size(max = 50, message = "箱子总数长度不能超过20")
  @ExcelProperty(value = "箱子总数")
  private Integer totalUnits;

  @Size(max = 50, message = "单个箱子人工费长度不能超过20")
  @ExcelProperty(value = "单个箱子人工费")
  private java.math.BigDecimal feePerUnit;

  @Size(max = 50, message = "总人工费长度不能超过20")
  @ExcelProperty(value = "总人工费")
  private java.math.BigDecimal totalFee;

  @ExcelProperty(value = "店铺")
  private Long sid;

  @Size(max = 50, message = "国家长度不能超过20")
  @ContentStyle(
    horizontalAlignment = HorizontalAlignmentEnum.LEFT,
    dataFormat = 49
  )
  @ExcelProperty(value = "国家")
  private String country;
}
